{% extends "cover_layout.html" %}
{% block content %}


    <div class="d-flex w-100 h-100 mx-auto flex-column">
        <header class="masthead mb-auto">
            <div class="navbar navbar-dark bg-dark shadow-sm">
                <div class="container d-flex justify-content-between">
                    <strong>高校数据分析</strong>
                    <nav class="nav nav-masthead justify-content-center">
                       <a class="nav-link" href='{{ url_for('hot') }}'>高校热度分析</a>
                        <a class="nav-link" href='{{ url_for('major') }}'>专业热度与平均薪资</a>
                      <a class="nav-link" href='{{ url_for('hot_major') }}'>热门专业</a>
                    <a class="nav-link" href='{{ url_for('work') }}'>就业前景</a>
                    </nav>
                </div>
            </div>
        </header>
        <div style="position: absolute; right: 30px;margin-top: 20px" >
                <form class="form-inline" method="POST" action="/works">
  <div class="form-group">
    <div class="input-group">
            <select name="comp_select" class="selectpicker form-control" style="width: 185px; margin-top: 50px">
              {% for o in hangye %}
hangye = [{'数学与应用数据':'a'},{'计算机科学与技术':'b'},{'电磁场与无线技术':'c'}]
              {% for k,v in o.items() %}
              <!-- <option value="{{ o.name }}">{{ o.name }}</option> -->
              <option value={{v}}>{{k}}</option>
              {% endfor %}
              {% endfor %}
            </select>
    </div>
    <button type="submit" class="btn btn-default" style="margin-top: 50px">确定查询</button>
  </div>
</form>
            </div>
        <br>
        <div class="container">
                <div class="my-5 p-3 bg-white rounded shadow-sm">
                    <h4 class="border-bottom pt-2 pb-3 mb-0 ml-2">专业就业行业分布情况分析</h4>
                    <div class="d-flex text-muted pt-3 ml-2">
                        <svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="40" height="40" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#007bff"></rect><text x="50%" y="50%" fill="#ffffff" dy=".4em">1</text></svg>
                        <p class="ml-3 pb-3 mb-0 lh-sm" style="width: 90%;">
                            <strong class="d-block text-gray-dark mb-1">数学与应用数学就业行业分布</strong>
                            <br>
                        <div style="margin-left:15px">{{tu5|safe}}</div>
                            <br>
                        <br>
                        <br>
                        <br>
                        - 左侧图表对数学与应用数学就业行业分布进行了分析。
                        <br>
                        <br>
                        - 数学与应用数学就业行业分布中，毕业生多数选择教育培训、金融投资等好就业的行业，快消和批发零售业较少人选择。<br>
                            <br>
                            <br>
                            <br>
                        </p>
                    </div>
                <br>
                <br>
                    <div class="d-flex text-muted pt-3 ml-2">
                        <svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="40" height="40" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#e83e8c"></rect><text x="50%" y="50%" fill="#ffffff" dy=".4em">2</text></svg>
                        <p class="ml-3 pb-3 mb-0 lh-sm" style="width: 90%;">
                            <strong class="d-block text-gray-dark mb-1">计算机科学与技术就业岗位分布</strong>
                            <br>
                        <div style="margin-left:15px">{{tu_jisuanji|safe}}</div>
                            <br>
                        <br>
                        - 左侧图表对计算机科学与技术就业岗位分布进行了分析。
                        <br>
                        <br>
                        - 计算机科学与技术就业岗位分布中，开发、技术支持岗和其他占多数，计算机专业的就业可选择岗位还是比较少的。<br>
                            <br>
                            <br>
                            <br>
                        </p>
                    </div>
                    <br>
                    <br>
                    <div class="d-flex text-muted pt-3 ml-2">
                        <svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="40" height="40" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#20894d"></rect><text x="50%" y="50%" fill="#ffffff" dy=".4em">3</text></svg>
                        <p class="ml-3 pb-3 mb-0 lh-sm" style="width: 90%;">
                            <strong class="d-block text-gray-dark mb-1">电磁场与无线技术就业岗位分布</strong>
                            <br>
                        <div style="margin-left:15px">{{tu_dian|safe}}</div>
                            <br>
                        <br>
                        <br>
                        - 左侧图表对电磁场与无线技术就业岗位分布进行了分析。
                        <br>
                        <br>
                        - 电磁场与无线技术就业岗位分布中，电子/电器通用技术、通信工程和其他占多数，电磁场与无线技术专业的就业可选择岗位还是比较少的。<br>
                            <br>
                        <br>
                        </p>
                    </div>
                    <br>
                    <br>
   {% if select == 'a' %}
        <div class="container">
                <div class="my-5 p-3 bg-white rounded shadow-sm">
                    <h4 class="border-bottom pt-2 pb-3 mb-0 ml-2">数学与应用数据就业行业分布</h4>
                    <div class="d-flex text-muted pt-3 ml-2">
                        <svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="40" height="40" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#007bff"></rect><text x="50%" y="50%" fill="#ffffff" dy=".4em">1</text></svg>
                        <p class="ml-3 pb-3 mb-0 lh-sm" style="width: 90%;">
                            <strong class="d-block text-gray-dark mb-1"></strong>
                            <br>
                        <div style="margin-left:15px">{{tu5|safe}}</div>
                            <br>
                        <br>
                        <br>
                        <br>
                        - 左侧图表对数学与应用数学就业行业分布进行了分析。
                        <br>
                        <br>
                        - 数学与应用数学就业行业分布中，毕业生多数选择教育培训、金融投资等好就业的行业，快消和批发零售业较少人选择。<br>
                            <br>
                            <br>
                            <br>
                        </p>
                    </div>
                    <br>
        {% endif %}

        {% if select == 'b' %}
                <!-- END title -->
            <div class="container">
                <div class="my-5 p-3 bg-white rounded shadow-sm">
                    <h4 class="border-bottom pt-2 pb-3 mb-0 ml-2">计算机科学与技术就业岗位分布</h4>
                    <div class="d-flex text-muted pt-3 ml-2">
                        <svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="40" height="40" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#e83e8c"></rect><text x="50%" y="50%" fill="#ffffff" dy=".4em">2</text></svg>
                        <p class="ml-3 pb-3 mb-0 lh-sm" style="width: 90%;">
                            <strong class="d-block text-gray-dark mb-1"></strong>
                            <br>
                        <div style="margin-left:15px">{{tu_jisuanji|safe}}</div>
                            <br>
                        <br>
                        - 左侧图表对计算机科学与技术就业岗位分布进行了分析。
                        <br>
                        <br>
                        - 计算机科学与技术就业岗位分布中，开发、技术支持岗和其他占多数，计算机专业的就业可选择岗位还是比较少的。<br>
                            <br>
                            <br>
                            <br>
                        </p>
                    </div>
                    <br>
        {% endif %}
                 {% if select == 'c' %}
                <!-- END title -->
            <div class="container">
                <div class="my-5 p-3 bg-white rounded shadow-sm">
                    <h4 class="border-bottom pt-2 pb-3 mb-0 ml-2">电磁场与无线技术就业岗位分布</h4>
                    <div class="d-flex text-muted pt-3 ml-2">
                        <svg class="bd-placeholder-img flex-shrink-0 me-2 rounded" width="40" height="40" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Placeholder: 32x32" preserveAspectRatio="xMidYMid slice" focusable="false"><title>Placeholder</title><rect width="100%" height="100%" fill="#20894d"></rect><text x="50%" y="50%" fill="#ffffff" dy=".4em">3</text></svg>
                        <p class="ml-3 pb-3 mb-0 lh-sm" style="width: 90%;">
                            <strong class="d-block text-gray-dark mb-1"></strong>
                            <br>
                        <div style="margin-left:15px">{{tu_dian|safe}}</div>
                            <br>
                        <br>
                        <br>
                        - 左侧图表对电磁场与无线技术就业岗位分布进行了分析。
                        <br>
                        <br>
                        - 电磁场与无线技术就业岗位分布中，电子/电器通用技术、通信工程和其他占多数，电磁场与无线技术专业的就业可选择岗位还是比较少的。<br>
                            <br>
                        <br>
                        </p>
                    </div>
                    <br>
        {% endif %}
        <footer class="mastfoot mt-auto" style="padding-top: 1px; padding-bottom: 1.5rem; text-align: center">
            <div class="inner">
                <p></p>
            </div>
        </footer>
    </div>

{% endblock content %}